package model

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ SmsCouponSpuRelationModel = (*customSmsCouponSpuRelationModel)(nil)

type (
	// SmsCouponSpuRelationModel is an interface to be customized, add more methods here,
	// and implement the added methods in customSmsCouponSpuRelationModel.
	SmsCouponSpuRelationModel interface {
		smsCouponSpuRelationModel
	}

	customSmsCouponSpuRelationModel struct {
		*defaultSmsCouponSpuRelationModel
	}
)

// NewSmsCouponSpuRelationModel returns a model for the database table.
func NewSmsCouponSpuRelationModel(conn sqlx.SqlConn) SmsCouponSpuRelationModel {
	return &customSmsCouponSpuRelationModel{
		defaultSmsCouponSpuRelationModel: newSmsCouponSpuRelationModel(conn),
	}
}
